package com.hz.ruoyifarmbase.baseinfo.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 地块对象 agr_base_plots
 *
 * @author ruoyi
 * @date 2025-03-05
 */
public class AgrBasePlots extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地块ID */
    private Long plotsId;

    /** 地块名称 */
    @Excel(name = "地块名称")
    private String plotsName;

    /** 地块面积 */
    @Excel(name = "地块面积")
    private Long plotsArea;

    /** 地块图片 */
    @Excel(name = "地块图片")
    private String plotsImg;

    /** 边框宽度 */
    @Excel(name = "边框宽度")
    private Long strokeWeight;

    /** 边框颜色 */
    @Excel(name = "边框颜色")
    private String strokeColor;

    /** 边框透明度 */
    @Excel(name = "边框透明度")
    private BigDecimal strokeOpacity;

    /** 地块路径 */
    @Excel(name = "地块路径")
    private String plotsPath;

    /** 地块背景颜色 */
    @Excel(name = "地块背景颜色")
    private String plotsColor;

    /** 地块透明度 */
    @Excel(name = "地块透明度")
    private BigDecimal plotsOpacity;

    /** 类型（0 大田，1 大棚） */
    @Excel(name = "类型", readConverterExp = "0=,大=田，1,大=棚")
    private Long plotsType;

    /** 状态（0 空闲，1 种植） */
    @Excel(name = "状态", readConverterExp = "0=,空=闲，1,种=植")
    private Long plotsStatus;

    /** 地块说明 */
    @Excel(name = "地块说明")
    private String plotsDetails;

    /** 负责人 */
    @Excel(name = "负责人")
    private String primaryPerson;


    public Long getPlotsId() {
        return plotsId;
    }

    public void setPlotsId(Long plotsId) {
        this.plotsId = plotsId;
    }

    public String getPlotsName() {
        return plotsName;
    }

    public void setPlotsName(String plotsName) {
        this.plotsName = plotsName;
    }

    public Long getPlotsArea() {
        return plotsArea;
    }

    public void setPlotsArea(Long plotsArea) {
        this.plotsArea = plotsArea;
    }

    public String getPlotsImg() {
        return plotsImg;
    }

    public void setPlotsImg(String plotsImg) {
        this.plotsImg = plotsImg;
    }

    public Long getStrokeWeight() {
        return strokeWeight;
    }

    public void setStrokeWeight(Long strokeWeight) {
        this.strokeWeight = strokeWeight;
    }

    public String getStrokeColor() {
        return strokeColor;
    }

    public void setStrokeColor(String strokeColor) {
        this.strokeColor = strokeColor;
    }

    public BigDecimal getStrokeOpacity() {
        return strokeOpacity;
    }

    public void setStrokeOpacity(BigDecimal strokeOpacity) {
        this.strokeOpacity = strokeOpacity;
    }

    public String getPlotsPath() {
        return plotsPath;
    }

    public void setPlotsPath(String plotsPath) {
        this.plotsPath = plotsPath;
    }

    public String getPlotsColor() {
        return plotsColor;
    }

    public void setPlotsColor(String plotsColor) {
        this.plotsColor = plotsColor;
    }

    public BigDecimal getPlotsOpacity() {
        return plotsOpacity;
    }

    public void setPlotsOpacity(BigDecimal plotsOpacity) {
        this.plotsOpacity = plotsOpacity;
    }

    public Long getPlotsType() {
        return plotsType;
    }

    public void setPlotsType(Long plotsType) {
        this.plotsType = plotsType;
    }

    public Long getPlotsStatus() {
        return plotsStatus;
    }

    public void setPlotsStatus(Long plotsStatus) {
        this.plotsStatus = plotsStatus;
    }

    public String getPlotsDetails() {
        return plotsDetails;
    }

    public void setPlotsDetails(String plotsDetails) {
        this.plotsDetails = plotsDetails;
    }

    public String getPrimaryPerson() {
        return primaryPerson;
    }

    public void setPrimaryPerson(String primaryPerson) {
        this.primaryPerson = primaryPerson;
    }

    @Override
    public String toString() {
        return "AgrBasePlots{" +
                "plotsId=" + plotsId +
                ", plotsName='" + plotsName + '\'' +
                ", plotsArea=" + plotsArea +
                ", plotsImg='" + plotsImg + '\'' +
                ", strokeWeight=" + strokeWeight +
                ", strokeColor='" + strokeColor + '\'' +
                ", strokeOpacity=" + strokeOpacity +
                ", plotsPath='" + plotsPath + '\'' +
                ", plotsColor='" + plotsColor + '\'' +
                ", plotsOpacity=" + plotsOpacity +
                ", plotsType=" + plotsType +
                ", plotsStatus=" + plotsStatus +
                ", plotsDetails='" + plotsDetails + '\'' +
                ", primaryPerson='" + primaryPerson + '\'' +
                '}';
    }
}
